package com.atguigu.gulimall.product.feign;

import com.atguigu.common.utils.R;
import com.atguigu.entity.vo.SkuHasStokeVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("gulimall-ware")
public interface WareFeignService {

    @RequestMapping("/ware/waresku/hasstoke")
    public R hasstoke(@RequestParam List<Long> skuIds);
}
